<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>营业额</title>
</head>
<body>
<%
String restaurant_name = request.getParameter("restaurant_name");
String receptionist_name = request.getParameter("customer_name");%>
<body>
    <h1>选择时间范围</h1>
    <!-- 表单用于选择时间范围 -->
    <form action="sum.jsp?restaurant_name=<%=restaurant_name%>&customer_name=<%=receptionist_name %>" method="post">
        <label for="startDate">开始时间:</label>
        <input type="date" id="startDate" name="startDate" required>

        <label for="endDate">结束时间:</label>
        <input type="date" id="endDate" name="endDate" required>

        <input type="submit" value="计算">
    </form>
</body>
</html>